package com.swak.rpc;

import com.swak.registry.URL;

/**
 * Node.
 * 
 * @author lifeng
 */
public interface Node {

	/**
	 * get url.
	 *
	 * @return url.
	 */
	URL getUrl();

	/**
	 * is available.
	 *
	 * @return available.
	 */
	boolean isAvailable();

	/**
	 * destroy.
	 */
	void destroy();
}
